package com.asiainfo.dacp.datastash.orm.data;


import com.asiainfo.dacp.orm.po.DacpMenuPo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by winter on 2017/4/20.
 */
public class DacpMenuData {


    public List<DacpMenuPo> data() {
        List<DacpMenuPo> result = new ArrayList<DacpMenuPo>();
        result.add(new DacpMenuPo("console","home","管理者门户", "console", null,"uex-icon-tenant-view","0","", null, 4, null,"1"));
        result.add(new DacpMenuPo("dataunit-mgr","console","数据单元管理","dataunit-mgr", null,"","0","", "extend",5, "{\"type\":\"1\",\"menuOpen\":\"1\",\"isPost\":\"1\"}","1"));
        result.add(new DacpMenuPo("unit-mgr","dataunit-mgr","单元管理", "unit-mgr", null,"","0","datastash/workshop", null,1 , null,"1"));
        result.add(new DacpMenuPo("unit-state","dataunit-mgr","单元日志", "unit-state", null,"","0","datastash/workshop/unit/state", null,2 , null,"1"));
        result.add(new DacpMenuPo("unit-step-define","dataunit-mgr","单元节点定义", "unit-step-define", null,"","0","datastash/workshop/unit/stepdefine", null,3 , null,"1"));
        result.add(new DacpMenuPo("unit-permit","dataunit-mgr","单元审批", "unit-permit", null,"","0","datastash/workshop/unit/publish", null,4 , null,"1"));
        result.add(new DacpMenuPo("system-mgr","console","系统管理", "system-mgr", null,"uex-icon-system-configuration","0","", "extend",310, "{\"type\":\"1\",\"menuOpen\":\"1\",\"isPost\":\"1\"}","1"));
        result.add(new DacpMenuPo("system-mgr-ds","system-mgr","数据源管理", "system-mgr-ds", null,"","0","metamodel/datasource", null,311 , null,"1"));
        result.add(new DacpMenuPo("unit-monitor","dataunit-mgr","集群监控","unit-monitor",null,"","0","datastash/workshop/unit/monitor",null,5,null,"1"));
        return result;
    }
}
